package com.jingdianjichi.subject.infra.basic.ES.自定义ES_鸡翅.entity;

/**
 * 我们要操作Map的,我们插入的时候是基于Map做的,这里就是统一管理我们map的Key的亲
 */
public class ESSubjectFields {

    public static final String DOC_ID = "doc_id";

    public static final String SUBJECT_ID = "subject_id";

    public static final String SUBJECT_NAME = "subject_name";

    public static final String SUBJECT_ANSWER = "subject_answer";

    public static final String SUBJECT_TYPE = "subject_type";

    public static final String CREATE_USER = "create_user";

    public static final String CREATE_TIME = "create_time";

    //在ES做检索的时候,我们那些字段可以去呗创建索引的,这个就是我们的mapping奥,我们都放进来亲
    public static final String[] FIELD_QUERYT={
            SUBJECT_ID, SUBJECT_NAME, SUBJECT_ANSWER, SUBJECT_TYPE, DOC_ID, CREATE_USER, CREATE_TIME
    };
}
